.student-stats {
  .overall-stats {
    margin-bottom: 24px;

    .ant-statistic-title {
      font-size: 14px;
      color: #666;
    }

    .ant-statistic-content {
      font-size: 20px;
      font-weight: bold;
    }
  }

  .lesson-usage {
    margin-bottom: 24px;

    .usage-item {
      margin-bottom: 16px;

      .usage-label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
      }
    }
  }

  .watch-stats {
    margin-bottom: 24px;

    .course-info {
      display: flex;
      align-items: center;
      gap: 8px;

      .course-cover-small {
        width: 40px;
        height: 30px;
        object-fit: cover;
        border-radius: 4px;
      }
    }

    .watch-time {
      color: #1890ff;
      font-size: 12px;
    }

    .watch-count {
      color: #52c41a;
      font-size: 12px;
    }

    .last-watch {
      font-size: 12px;
      color: #666;
    }
  }

  .learning-trend {
    margin-bottom: 24px;

    .trend-chart {
      .chart-placeholder {
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #f5f5f5;
        border-radius: 8px;
        color: #999;

        p {
          margin: 8px 0;
          font-size: 14px;
        }
      }
    }
  }

  .course-completion {
    .completion-list {
      .completion-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;

        &:last-child {
          border-bottom: none;
        }

        .course-info {
          display: flex;
          align-items: center;
          gap: 12px;
          flex: 1;

          .course-cover-small {
            width: 60px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
          }

          .course-details {
            flex: 1;

            .course-title {
              font-weight: 600;
              color: #333;
              margin-bottom: 8px;
            }

            .course-progress {
              width: 200px;
            }
          }
        }

        .completion-status {
          .completed {
            color: #52c41a;
            font-weight: 600;
          }

          .in-progress {
            color: #1890ff;
            font-weight: 600;
          }
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .student-stats {
    .overall-stats {
      .ant-statistic-content {
        font-size: 16px;
      }
    }

    .watch-stats {
      .course-info {
        flex-direction: column;
        text-align: center;
        gap: 4px;

        .course-cover-small {
          width: 60px;
          height: 40px;
        }
      }
    }

    .course-completion {
      .completion-list {
        .completion-item {
          flex-direction: column;
          align-items: flex-start;
          gap: 12px;

          .course-info {
            width: 100%;

            .course-details {
              .course-progress {
                width: 100%;
              }
            }
          }

          .completion-status {
            align-self: flex-end;
          }
        }
      }
    }
  }
} 